package com.example.demo.model;

import lombok.Data;

import java.io.Serializable;
import java.nio.charset.StandardCharsets;
import java.time.LocalDateTime;
import org.springframework.util.DigestUtils;

@Data//访问器
public class Userinfo implements Serializable {
    private int id;
    private String username;
    private String password;
    private String photo;//用户照片
    private LocalDateTime createtime;//创建时间
    private LocalDateTime updatetime;//修改时间
    private int state; //状态

}
